from common.locate_by import By

class LocLayoutDetail:

    loc_close = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "单位名称:",
        "seq": 1,
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "行政区域:",
        "seq": 2,
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "内部区域名称:",
    }

    loc_area_type = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "内部区域类型:",
        "seq": 3,
    }

    loc_linkman = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系人:",
    }

    loc_contact_information = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系方式:",
    }
